<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <h2>订单数:{{counter}}</h2><br>
    <h2>订单数:{{2*2}}</h2>
  </div>

  <script src="./js/vue.js"></script>
  <script>
    let app = new Vue({
      el: '#app',  //先定义抓取id
      data: {
        counter: 0
      },

      methods: {
      
      }
    })
  </script>
</body>
</html>